var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res) {
    res.render('results', { title: 'Learn to Anything' , googleUrl: 'http://www.google.com', youtubeUrl:'https://www.googleapis.com/youtube/v3/search?q=how+to+knitting+tutorial&part=snippet&chart=mostPopular&maxResults=5&fields=items(id%2Csnippet(title%2Cdescription%2CpublishedAt%2Cthumbnails%2Fdefault))&key=AIzaSyDHbHnVs6jig5mVgNnXxQpQxDasYX12nsQ', wikiUrl:'http://www.wikipedia.com'});
});

module.exports = router;
